package com.gxuwz.jwt.service;

import com.gxuwz.jwt.entity.User;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    public User getUserById(String userId){
        User user = new User("12345","刘牌","xiaosi520","游客");
        if (userId.equals(user.getUserId())){
            return user;
        }
        return null;
    }
}
